package services.user;

import persistences.TrainingPlanDAO;

public class TrainingPlan {
	private String id;
	private String name;
	private String planYear;
	private String startDate;
	private String endDate;
	private String majorPlane;

	public TrainingPlan(String id, String name, String planYear, String startDate, String endDate, String majorPlane) {
		super();
		this.id = id;
		this.name = name;
		this.planYear = planYear;
		this.startDate = startDate;
		this.endDate = endDate;
		this.majorPlane = majorPlane;
	}

	public boolean findTrainingPlan() {
		boolean result = false;

		result = new TrainingPlanDAO().findTrainingPlan(id, name, planYear, startDate, endDate, majorPlane);

		return result;
	}
}